#ifndef ACTION_SLEEP_H
#define ACTION_SLEEP_H

#include "../action.h"

namespace action {

class SleepAction : public Action {
 public:
  explicit SleepAction(int tick);
  virtual std::string type() const override { return "Sleep"; }
  virtual void onEvent(EventId event_id, void *event_data);

 private:
  int remain_tick_ = 0;
};

}

#endif //ACTION_SLEEP_H
